/* IDataChange.java
 *
 * Project/Product: GWBS2009
 *
 * Modify Information:
 * =============================================================================
 *   Author	Date       Description
 *   ----------	---------- ---------------------------------------------------
 *   Arrow	2009-6-29	First release
 *
 * Licensed Materials - Property of APEP
 * =============================================================================
 *    (C) COPYRIGHT Shanghai Auto Mart E-Procurement Co., Ltd. 2007 - 2009
 *    All Rights Reserved.
 *
 *    This software is the confidential and proprietary information of
 *    Shanghai Auto Mart E-Procurement Co., Ltd. ("Confidential Information").
 *    You shall not disclose such Confidential Information and shall use it only
 *    in accordance with the terms of the license agreement you entered into 
 *    with Shanghai Auto Mart E-Procurement Co., Ltd.
 *
 * Noties:
 * =============================================================================
 * 
 */

package client;

import java.util.HashMap;
import java.util.Map;

public class RADataMap {
    private static RADataMap INSTANCE = new RADataMap();
    
    private Map category; //产品分类转换
    private Map warehouseCode; //仓库转换
    
    private RADataMap(){
        category = new HashMap();
        category.put("00000", "010");
        category.put("10000", "020");
        category.put("20000", "030");
        category.put("31000", "040");
        category.put("32000", "050");
        category.put("33000", "060");
        category.put("34000", "070");
        category.put("35000", "080");
        category.put("36000", "090");
        category.put("37000", "100");
        category.put("38000", "110");
        category.put("39000", "120");
        category.put("3A000", "130");
        category.put("3B000", "140");
        category.put("3C000", "150");
        category.put("3D000", "160");
        category.put("41000", "170");
        category.put("42000", "180");
        category.put("43000", "190");
        category.put("44000", "200");
        category.put("45000", "210");
        category.put("46000", "220");
        category.put("47000", "230");
        category.put("48000", "240");
        category.put("49000", "250");
        category.put("4A000", "260");
        category.put("4B000", "270");
        category.put("4C000", "280");
        category.put("4D000", "290");
        category.put("50000", "300");
        category.put("60000", "310");
        category.put("70000", "320");
        category.put("80000", "330");
        category.put("90000", "999");
        
        warehouseCode = new HashMap();
        warehouseCode.put("00ck05", "ck005");
        warehouseCode.put("00cc01", "cc001");
        warehouseCode.put("00cc02", "cc002");
        warehouseCode.put("00cc03", "cc003");
        warehouseCode.put("00cc04", "cc004");
        
    }
    
    public static RADataMap getInstance(){
        return INSTANCE;
    }

    /**
     * @return the category
     */
    public Map getCategory() {
        return this.category;
    }

    /**
     * @return the warehouseCode
     */
    public Map getWarehouseCode() {
        return this.warehouseCode;
    }
    
}
